﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HAVTKPack
{

    /// <summary>
    /// 用于表示地下水类型的含高程信息的网格数据
    /// 
    /// </summary>
    [Serializable]
    public class HydrolicGrid
    {


        public HydrolicGrid(int nrows,int ncols,int nlayers)
        {
            _coords=new Coordinate[nrows,ncols,nlayers];

 
        }



        Coordinate[,,] _coords;
        /// <summary>
        /// 存储外围边框各个点的XYZ值信息
        /// </summary>
        public Coordinate[,,] Coords
        {
            get { return _coords; }
          
        }

        public int NRows
        {
            get {
               return this._coords.GetLength(0);
            }
        }

        public int NCols
        {

            get {

                return this._coords.GetLength(1);
            }
        }


        public int NLayers
        {

            get {

                return this._coords.GetLength(2);
            }
        }



    }
}
